.class Lcom/example/m6wmr/ReportShop$1$1;
.super Ljava/lang/Object;
.source "ReportShop.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/ReportShop$1;->handleMessage(Landroid/os/Message;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6wmr/ReportShop$1;

.field private final synthetic val$im_choose:Landroid/widget/ImageView;

.field private final synthetic val$is_choose:Landroid/widget/TextView;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/ReportShop$1;Landroid/widget/TextView;Landroid/widget/ImageView;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/ReportShop$1$1;->this$1:Lcom/example/m6wmr/ReportShop$1;

    iput-object p2, p0, Lcom/example/m6wmr/ReportShop$1$1;->val$is_choose:Landroid/widget/TextView;

    iput-object p3, p0, Lcom/example/m6wmr/ReportShop$1$1;->val$im_choose:Landroid/widget/ImageView;

    .line 136
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 142
    const-string v2, ""

    .line 143
    .local v2, "ischoosesString":Ljava/lang/String;
    iget-object v3, p0, Lcom/example/m6wmr/ReportShop$1$1;->val$is_choose:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    .line 145
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v1

    .line 147
    .local v1, "id":I
    iget-object v3, p0, Lcom/example/m6wmr/ReportShop$1$1;->this$1:Lcom/example/m6wmr/ReportShop$1;

    # getter for: Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;
    invoke-static {v3}, Lcom/example/m6wmr/ReportShop$1;->access$0(Lcom/example/m6wmr/ReportShop$1;)Lcom/example/m6wmr/ReportShop;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/ReportShop;->reportBeans:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/ReportShop;->access$2(Lcom/example/m6wmr/ReportShop;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/ReportBean;

    .line 149
    .local v0, "beans":Lbean/ReportBean;
    const-string v3, "0"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 150
    iget-object v3, p0, Lcom/example/m6wmr/ReportShop$1$1;->val$im_choose:Landroid/widget/ImageView;

    iget-object v4, p0, Lcom/example/m6wmr/ReportShop$1$1;->this$1:Lcom/example/m6wmr/ReportShop$1;

    # getter for: Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;
    invoke-static {v4}, Lcom/example/m6wmr/ReportShop$1;->access$0(Lcom/example/m6wmr/ReportShop$1;)Lcom/example/m6wmr/ReportShop;

    move-result-object v4

    # getter for: Lcom/example/m6wmr/ReportShop;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6wmr/ReportShop;->access$3(Lcom/example/m6wmr/ReportShop;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0200c0

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 151
    iget-object v3, p0, Lcom/example/m6wmr/ReportShop$1$1;->val$is_choose:Landroid/widget/TextView;

    const-string v4, "1"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 153
    const/4 v3, 0x1

    invoke-virtual {v0, v3}, Lbean/ReportBean;->setIschoose(I)V

    .line 162
    :goto_0
    return-void

    .line 157
    :cond_0
    iget-object v3, p0, Lcom/example/m6wmr/ReportShop$1$1;->val$im_choose:Landroid/widget/ImageView;

    iget-object v4, p0, Lcom/example/m6wmr/ReportShop$1$1;->this$1:Lcom/example/m6wmr/ReportShop$1;

    # getter for: Lcom/example/m6wmr/ReportShop$1;->this$0:Lcom/example/m6wmr/ReportShop;
    invoke-static {v4}, Lcom/example/m6wmr/ReportShop$1;->access$0(Lcom/example/m6wmr/ReportShop$1;)Lcom/example/m6wmr/ReportShop;

    move-result-object v4

    # getter for: Lcom/example/m6wmr/ReportShop;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6wmr/ReportShop;->access$3(Lcom/example/m6wmr/ReportShop;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0200bf

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 158
    iget-object v3, p0, Lcom/example/m6wmr/ReportShop$1$1;->val$is_choose:Landroid/widget/TextView;

    const-string v4, "0"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 159
    const/4 v3, 0x0

    invoke-virtual {v0, v3}, Lbean/ReportBean;->setIschoose(I)V

    goto :goto_0
.end method
